package main.resources.model.entity.moodle;

import java.io.Serializable;
import javax.persistence.*;

import java.math.BigInteger;


/**
 * The persistent class for the mdl_course_categories database table.
 * 
 */
@Entity
@Table(name="mdl_course_categories")
public class MdlCourseCategory implements Serializable {
	
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	private BigInteger coursecount;

	private BigInteger depth;

	@Lob()
    private String description;

	private boolean descriptionformat;

	private String name;

	private BigInteger parent;

	private String path;

	private BigInteger sortorder;

	private String theme;

	private BigInteger timemodified;

	private boolean visible;
	
	private boolean visibleold;

	public MdlCourseCategory() { }
    
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public BigInteger getCoursecount() {
		return this.coursecount;
	}

	public void setCoursecount(BigInteger coursecount) {
		this.coursecount = coursecount;
	}

	public BigInteger getDepth() {
		return this.depth;
	}

	public void setDepth(BigInteger depth) {
		this.depth = depth;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public boolean getDescriptionformat() {
		return this.descriptionformat;
	}

	public void setDescriptionformat(boolean descriptionformat) {
		this.descriptionformat = descriptionformat;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public BigInteger getParent() {
		return this.parent;
	}

	public void setParent(BigInteger parent) {
		this.parent = parent;
	}

	public String getPath() {
		return this.path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public BigInteger getSortorder() {
		return this.sortorder;
	}

	public void setSortorder(BigInteger sortorder) {
		this.sortorder = sortorder;
	}

	public String getTheme() {
		return this.theme;
	}

	public void setTheme(String theme) {
		this.theme = theme;
	}

	public BigInteger getTimemodified() {
		return this.timemodified;
	}

	public void setTimemodified(BigInteger timemodified) {
		this.timemodified = timemodified;
	}

	public boolean getVisible() {
		return this.visible;
	}

	public void setVisible(boolean visible) {
		this.visible = visible;
	}

	public boolean getVisibleold() {
		return this.visibleold;
	}

	public void setVisibleold(boolean visibleold) {
		this.visibleold = visibleold;
	}

	public String toString() {
		return "{id: " + this.id + "; name: " + this.name + "; description: " + this.description + "; coursecount: " + this.coursecount + "}";
	}
}